home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1789 / text0001.txt < prev   
Encoding:
Text File  |  1996-08-05  |  963 b   |  26 lines

  1. In article <13213494@sourcery.han.de> "Olaf Barthel" <olsen@sourcery.han.de> writes:
  2.  
  3. > ...
  4.  
  5. > >  Ok, so location $4 points to EXEC, but:
  6. > >
  7. > >  1) I wonder: why not 0?
  8. >    On reset and cold start the 68k CPU fetches its initial program counter
  9. > from address 0. Might be that this was the reason for avoiding 0 altogether.
  10.  
  11.     No.  On reset and cold start the 68k CPU fetches its initial
  12. program counter from $4.  The initial supervisor stack pointer is
  13. fetched from $0.
  14.  
  15. -Chris
  16.  
  17. -- 
  18. -----------------------------------------------------------------------------
  19. |   Christopher D. Judd                                                     |
  20. |   Rensselaer Polytechnic Inst.     juddc@rpi.edu    NLO & spectroscopy:   |
  21. |   Dept. of Chemistry               518 276-8982     Fun with photons      |
  22. |   Troy, NY 12180-3590                                                     |
  23. -----------------------------------------------------------------------------
  24.